import request from '@/utils/request'
export default {
  create(data) {
    return request({
      url: 'database/create',
      method: 'post',
      data
    })
    // return request.post('database/create', data)
  },
  update() {

  },
  delete(id) {
    return request.post('database/delete', { id })
  },
  search() {
    return request.post('database')
  },
  detail() {

  },
  setDefault(id) {
    return request.post('database/setDefault', { id })
  }
}
